Framework EDI Reference. Methods and Properties | |
ediSecurityCertificateStore. ExportExtendedCertificate |
Exports the extended certificate from the certificate store.
Syntax:
- <lRetVal> = object.ExportExtendedCertificate(<sSubjectName>, <sIssuerName>, <sHexSerialNumber>, <sKeyContainer>, <lKeySpec>, <sFileName>)
Parameters:
- sSubjectName – Subject name of certificate to export.
- sIssuerName – Issuer name of certificate.
- sHexSerialNumber – Serial number of the certificate in hexadecimal notation.
- sKeyContainer – Key container name containing private key associated to certificate.
- lKeySpec – Key type of key container.
- sFileName – Full path and name of export file to create. If the file already exists, it will be overwritten without warning.
Returns:
Returns 1 if the operation is successful; otherwise returns 0 if the operation fails.
Remarks:
The sSubjectName, sIssuerName and sHexSerialNumber are used to search for the certificate in the certificate store. See Locating a Digital Certificate.